<script type="text/javascript" src="/plugins/styleplugins/js/styleplugins.min.js"></script>
<script type="text/javascript" src="/plugins/modulepara/configdata/js/moduleindex.min.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/vue.min.js"></script><!--vue.js前端交互轻量级框架-->
<script type="text/javascript" src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.bxslider.min.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/index.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/wow.min.js"></script> 
<script src="__STATIC__/js/frontend.js"></script>
<script>
$(function(){
	
	stylePlugins.openSelectBlock();
	
	$('.nav1').hover(function(){
		$(this).find('.nav1Box').addClass('nav1on');
		$(this).find('.nav2').slideDown(200);	
		/*$(this).find('.nav1Box').animate(
			 {opacity: 1},500//鼠标经过给CSS的opacity定义为显示,并且渐变显示
		)*/
	},function(){
		$(this).find('.nav1Box').removeClass('nav1on');
		$(this).find('.nav2').stop(true,true).slideUp(200);
		/* $(this).find('.nav1Box').animate(
			 {'opacity': 0},500
			 )	*/
	});
	
	if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){
		new WOW().init();
	};
	
	;(function($){
		$.fn.totop=function(opt){
			var scrolling=false;
			return this.each(function(){
				var $this=$(this);
				$(window).scroll(function(){
					if(!scrolling){
						var sd=$(window).scrollTop();
						if(sd>100){
							$this.fadeIn();
						}else{
							$this.fadeOut();
						}
					}
				});
				
				$this.click(function(){
					scrolling=true;
					$('html, body').animate({
						scrollTop : 0
					}, 500,function(){
						scrolling=false;
						$this.fadeOut();
					});
				});
			});
		};
	})(jQuery); 
	
	$("#backtotop").totop();
	
	$('.imgslider').bxSlider({
		'auto':true,
		'controls':true,
		'touchEnabled':true,
		'pager':true,
		'speed':1000,
		'pause':4000,
		'slideWidth': 900
	})

});
</script>
<notempty name="configcommon['kf']['kfok']">
<script>
    $(function() {
        var flag = 0;
        $('#rightArrow').on("click", function() {
            if (flag == 1) {
                $("#floatDivBoxs").animate({right: '-175px'}, 300);
                $(this).animate({right: '-5px'}, 300);
                $(this).css('background-position', '-50px 0');
                flag = 0;
            } else {
                $("#floatDivBoxs").animate({right: '0'}, 300);
                $(this).animate({right: '170px'}, 300);
                $(this).css('background-position', '0px 0');
                flag = 1;
            }
        });
    });
</script>
</notempty>